Changes the default behavior of creating new child descriptions #1559
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes the default behavior of creating new child descriptions for descriptions
that already have a digital object
When importing digital objects via the command line, the default behavior is to create
new child descriptions when multiple lines point to the same description. However,
there may be cases where the user has mistakenly duplicated identifiers and new descriptions
start to pollute the database. Therefore, not adding the --attach-only option has the
same effect as adding it.
Changing this, the default behavior is now to inform the user about duplicate lines
that point to a description that already has a digital object, indicating that a
digital object already exists for that identifier. If the user wants, he can use
the --attach-only option to change the behavior of the task that will add child
descriptions to attach the digital object.